#ifndef dirlist_h_
#define dirlist_h_

#include <stdio.h>
#include <dirent.h>

#ifndef MAX_PATH
#define MAX_PATH			1024
#endif

struct						DirectoryList
{
	struct dirent			Item;
	char					FullPath[MAX_PATH];
	struct DirectoryList*	Next;
};


int32_t						DIRLIST_CopyFile		(const char* aSource, const char* aDest, void (*aProgress)(off_t aNow, off_t aTotal));
void						DIRLIST_Delete			(struct DirectoryList* aList);
struct DirectoryList*		DIRLIST_FindFile		(struct DirectoryList* aList, const char* aFile);
struct DirectoryList*		DIRLIST_Create			(const char* aPath);

#endif
